package StructuralPatterns.Proxy.StaticProxy;

public class ProxyUserDao implements IUserDao {
  public IUserDao target;

  public ProxyUserDao(IUserDao target) {
    this.target = target;
  }

  @Override
  public void save() {
    System.out.println("代理。。。");
    target.save();
  }
}
